# This is a sample Python script.

# Press Shift+F10 to execute it or replace it with your code.
# Press Double Shift to search everywhere for classes, files, tool windows, actions, and settings.

#
# def print_hi(name):
#     # Use a breakpoint in the code line below to debug your script.
#     print(f'Hi, {name}')  # Press Ctrl+F8 to toggle the breakpoint.
#

# # Press the green button in the gutter to run the script.
#
#  a = 3
#  print(type(a))


# a = 3
# print(type(a))
#
# a = 6.6
# print(type(a))
#
# a = 'bcbx'
# print(type(a))
#
#
# print(id(8),type(8),8)
# a = 8
# print(id(a),type(a),a)
# input('请输入您的姓名:')
#
# print('hellow','bcbx',31,end=';')
# print('bye')
#
#
#
# a = 5
# print(type(a),a)
# a = float(a)
# print(type(a),a)
#


# print(type(True))
# print(type(False))
# print(True+1)
# print(False+1)
#
# #
# str_word = 'welcome to "bcbx" "第三"刀锋的'
# # print(str_word[0])
# # print(str_word[2])
# # print(str_word[::2])
# print(str_word[::-1])
#

# name = '老八'
# num = 8
# price = 19.99
# print('%s,秘制小汉堡,今天是%d号,一个%.2f元' %(name,num,price))
# print(f'{name},秘制小汉堡,今天是{num}号,一个{price}元')

# print("学号\t姓名\t语文\t数学\t英语")
# print("202201\t刘备\t90\t95\t60")
# print("202201\t关羽\t93\t85\t70")
# print("202201\t张飞\t70\t80\t60")

# print('你好\n早上吃饭了嘛\\n几点开始工作呢')
#
# print(r"C:\Users\Administrator\PycharmProjects\pythonProject")
#
# word = '勇士总冠军'
# name = '库里'
# class_num = 30

# word = 'welcome to xian'
# print(word .startswith('an'))

# word = '     勇士 yyds    '
# print(word)
# print('--'*20)
# print(word.strip())

# word = 'warriors'
# print(word.isalpha())



# num = input('请输入您购买数量：')
# print(num.isdigit())
# if  input()
# print(f'您需要支付{int(num)*5}')

# word = 'warriors'
# print(word.count('r'))

# list_1 = [1,8.8,'bcbx']
# print(type(list_1))
# tuple_1 = (1,8.8,'bcbx')
# print(type(tuple_1))
# print(len(list_1))
# print(list_1[-2])

#列表和元组的的区别是什么
#列表可以增删改查，元组不可以


# list_1 = [1,8.8,'bcbx']
# list_1.append('welcome')
# list_1.insert(1,'yyds')
# print(list_1)
# list_1.remove('bcbx')
# list_1.remove(8.8)
# print(list_1)

list_1 = [1,2,3,4,[5,6]]
list_2 = list_1.copy()
import copy
list_3 = copy.deepcopy(list_1)
list_4 = list_1
list_1.append(5)
list_1[-2][0] = 100

print(list_1)
print(list_2)
print(list_3)
print(list_4)
#






































































